package cc.comac.mom.entity;


import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import cc.comac.mom.entity.base.BaseResultEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

@TableName("equip_repair_repository_repair_doc")
@EqualsAndHashCode(callSuper=true)
@Data
public class EquipRepairRepositoryRepairDocEntity extends BaseResultEntity{
	private static final long serialVersionUID = 1L;
	
	@TableField(value="equip_repair_repository_repair_doc_id")
	@TableId(value = "equip_repair_repository_repair_doc_id",type=IdType.INPUT )
	
	private long id;
	private long equipRepairRepositoryId; // 维修知识库ID
	
	private String documentName;// 文档名称
	private String documentKeyWord;// 文档关键字
	private String documentSize;// 文档大小
	private String documentUploadUser;// 文档上传人
	private String documentUploadUserJobNumber;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date documentUploadTime;// 文档上传时间
	
	private String doucumentRealPath;//文件路径
	
	private String ossDoucumentPath;
	
	@TableField(value ="ea_0")
	private String ea0;
	@TableField(value ="ea_1")
	private String ea1;
	@TableField(value ="ea_2")
	private String ea2;
	@TableField(value ="ea_3")
	private String ea3;
	@TableField(value ="ea_4")
	private String ea4;
	@TableField(exist = false)
	private long attachmentId;


}
